package com.greenx.hello.hellodate;

import java.util.Calendar;

public class HelloDate {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Calendar cal = Calendar.getInstance();
		long startTimeMs = System.currentTimeMillis();
		System.out.println("current time:" + cal.getTime().toString()+"  :startTimeMs:"+startTimeMs);
		
//		for(long i=0;i<987654321;i++){
//			if(i%888888==0){
//				System.out.println("i="+i);
//			}
//		}
		long taskTimeS = (System.currentTimeMillis() - startTimeMs)/1000;
		System.out.println("current time:" + cal.getTime().toString()+" :taskTimeS:"+taskTimeS);
	}

}
